package com.xyb.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 课程文档(CourseDoc)实体类
 *
 * @author makejava
 * @since 2021-11-15 14:18:12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder

@Entity
@Table(name = "course_doc")
public class CourseDoc implements Serializable {
    private static final long serialVersionUID = -52264672480578809L;
    /**
    * 主键id
    */
    @Id
    private Long courseDocId;
    /**
    * 课程id
    */
    private Long courseDetailId;
    /**
    * 文档名称
    */
    private String courseDocName;
    /**
    * 文档url
    */
    private String courseDocUrl;
    /**
    * 文档状态
    */
    private Integer status;
    /**
    * 排序
    */
    private Integer showOrder;

}